package com.briup.category.domin;

import lombok.Getter;
import lombok.Setter;
import java.util.List;

@Setter
@Getter
public class UserShopCarExtend extends User {
    // ⽤户购物⻋中包含多本书籍（含数量）
    private List<BookShopCarExtend> books;
    @Override
    public String toString() {
        return "UserShopCarExtend{id=" +
                super.getId() + ", username=" +
                super.getUsername() + ", phone=" +
                super.getPhone() +
                ", books=" + books +
                '}';
    }
    
    public Integer getId() {
        return super.getId();
    }
    
    public String getUsername() {
        return super.getUsername();
    }
    
    public String getPhone() {
        return super.getPhone();
    }
}